package cn.bluemobi.platform.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.platform.entity.member.Identification;
import cn.bluemobi.platform.entity.member.Member;

public interface MemberMapper {
	int deleteByPrimaryKey(Long id);

	int insertSelective(Member record);

	Member selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Member record);

	List<Map<String, Object>> findPages(Map<String, Object> map);

	Identification findIdentifyByMemberId(Long memberId, Integer status);

	int verifyIdentify(Long id, Integer status);

	List<Member> findAllMember();

	int cashback(Double memberCashback, Double businessCashback,
			Double goldPoints, Double silverPoints, Long memberId);

	Double getTotalMemberWaitRebatePoints();

	Double getTotalMemberAlreadyRebatePoints();

	Double getTotalTodayRebateGoldPoints();

	Double getTotalTodayRebateSilverPoints();
}